<?php if($elements->uid == 0) { ?>
<div class="login-area">
    <div class="login clearfix">
      <ul class="clearfix">
        <!--<li><?php print l('New Clients', 'user/register'); ?></li>-->
        <li class="login_button"><?php print l('Login', 'user/login'); ?></li>
      </ul>
      <div class="language">
        <a href="#"><img src="<?php print $base_path . 'sites/all/themes/basic' ?>/images/btn-france.jpg" alt="Titanium Developers" /></a>
      </div>
    </div>
  <div class="login-member">
    <?php echo drupal_get_form('user_login');?>
  </div>
</div>
<?php
}
else {
  $myuid=$elements->uid;
  $node=content_profile_load(profile, $myuid);
?>
<div class="login-area">
    <div class="login clearfix">
      <ul class="clearfix">
        <!--<?php if (key_exists(4, $elements->roles) || key_exists(5, $elements->roles) || key_exists(6, $elements->roles) || ($elements->uid == 1)) { ?>
          <li><?php print l(t('Add property'), 'node/add/property'); ?></li>
        <?php } ?>-->
        <li><?php print l(t('Logout'), 'logout'); ?></li>
      </ul>
      <div class="language">
        <a href="#"><img src="<?php print base_path() . 'sites/all/themes/basic' ?>/images/btn-france.jpg" alt="Titanium Developers" /></a>
      </div>
    </div>
</div>
<?php } ?>